////  MeuPinView.m//  MapKitExample//#import "MeuPinView.h"#import "MeuPino.h"@implementation MeuPinView@synthesize imageView;@synthesize myButton;- (id)initWithAnnotation:(id )annotation reuseIdentifier:(NSString *)reuseIdentifier {	MeuPino* myAnnotation = (MeuPino*)annotation;		self = [super initWithAnnotation:myAnnotation reuseIdentifier:reuseIdentifier];	self.frame = CGRectMake(0, 0, myAnnotation.imagemPino.size.width, myAnnotation.imagemPino.size.height);//	self.backgroundColor = [UIColor clearColor];		imageView = [[UIImageView alloc] initWithImage:myAnnotation.imagemPino];	imageView.frame = self.frame;	[self addSubview:imageView];		myButton = [UIButton buttonWithType:UIButtonTypeDetailDisclosure];	self.rightCalloutAccessoryView = myButton;		imageView.contentMode = UIViewContentModeScaleAspectFill;		return self;}@end